
/* import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant); */
export default [
  {
    // 重定向，设置默认路径
    // 子路由路径不要加 /
    path: "",
    redirect: "msg",
    },
  //  消息页面
  {
    path: "msg",
    // name: "One",
    component: () =>
          import(/* webpackChunkName: "about" */ "../../components/news/Msg"),
      
    meta: {
      // 底部导航是否显示
      isNavShow: true,
      // 是否需要登录才能查看
        isLogin: true,
        
    },
  },
  {
    path: "chat",
    // name: "One",
    component: () =>
          import(/* webpackChunkName: "about" */ "../../components/news/Chat.vue"),
      
    meta: {
      // 底部导航是否显示
      isNavShow: true,
      // 是否需要登录才能查看
        isLogin: false,
        
        
      },
      children: [
          {
              path: "",
              redirect:"friend"
      },
          {
              path: "friend",
              component: () =>
              import(/* webpackChunkName: "about" */ "../../components/news/Chatlist/Friend.vue"),
          },
          {
              path: "guanz",
              component: () =>
              import(/* webpackChunkName: "about" */ "../../components/news/Chatlist/Guanz.vue"),
          },
          {
              path: "fans",
              component: () =>
              import(/* webpackChunkName: "about" */ "../../components/news/Chatlist/Fans.vue")
          },
          {
              path: "qunz",
              component: () =>
              import(/* webpackChunkName: "about" */ "../../components/news/Chatlist/qunzu.vue"),
          },
      ]
  },
  
];
